package com.muli.muwai.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muli.muwai.entity.IntfMarketingActivity;
import com.muli.muwai.mapper.MarketingActivityMapper;
import com.muli.muwai.service.MarketingActivityService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MarketingActivityServiceImpl extends ServiceImpl<MarketingActivityMapper, IntfMarketingActivity> implements MarketingActivityService {
    @Override
    public void saveMarketingActivity(List<IntfMarketingActivity> intfMarketingActivity) {
        saveBatch(intfMarketingActivity);
    }

    @Override
    public void deleteData() {
        int delete = baseMapper.delete(null);
        System.out.println(delete);
    }
}
